package com.yuhanginfo.modules.web.entity;

import java.math.BigDecimal;

import org.hibernate.validator.constraints.Length;

import com.yuhanginfo.common.persistence.WebDataEntity;

/**
 * 包邮设置Entity
 * @author yangs
 * @version 2017-10-09
 */
public class WebFreeWaybill extends WebDataEntity<WebFreeWaybill> {
	
	private static final long serialVersionUID = 1L;
	private String sendAreaId;		// send_area_id
	private String receiveAreaId;		// receive_area_id
	private BigDecimal money;		// money
	private String receiveArea;
	private String sendArea;
	
	public String getReceiveArea() {
		return receiveArea;
	}

	public void setReceiveArea(String receiveArea) {
		this.receiveArea = receiveArea;
	}

	public String getSendArea() {
		return sendArea;
	}

	public void setSendArea(String sendArea) {
		this.sendArea = sendArea;
	}

	public WebFreeWaybill() {
		super();
	}

	public WebFreeWaybill(String id){
		super(id);
	}

	@Length(min=0, max=11, message="send_area_id长度必须介于 0 和 11 之间")
	public String getSendAreaId() {
		return sendAreaId;
	}

	public void setSendAreaId(String sendAreaId) {
		this.sendAreaId = sendAreaId;
	}
	
	@Length(min=0, max=11, message="receive_area_id长度必须介于 0 和 11 之间")
	public String getReceiveAreaId() {
		return receiveAreaId;
	}

	public void setReceiveAreaId(String receiveAreaId) {
		this.receiveAreaId = receiveAreaId;
	}
	
	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	
}